package com.reebake.ideal.storage.service;

import com.reebake.ideal.storage.entity.FileInfoDTO;
import com.reebake.ideal.storage.entity.FileListViewDTO;

public interface FileOperationService {
    public FileInfoDTO fileInfo(String url);

    public FileInfoDTO fileInfo(String platform, String path, String filename);

    public Boolean exists(String url);

    public Boolean exists(String platform, String path, String filename);

    public void delete(String url);

    public void delete(String platform, String path, String filename);

    public FileInfoDTO copy(String url, String platform, String path);

    public FileInfoDTO move(String url, String platform, String path);

    public FileListViewDTO list(String platform, String path, String marker, Integer maxFiles);
}
